package com.czl.websocket.type;

public enum MessageType {

    //匹配
    Math(2000),
    //私聊
    PrivateChat(1000),
    //群聊
    GroupChat(1001);

    private int code;

    MessageType(int code) {
        this.code = code;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
